package cn.jg.model.sys;

import cn.jg.framework.common.model.SimpleBaseMultiTenantModel;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import lombok.*;
import java.time.LocalDateTime;

/**
 * Created by admin on 2023/06/06.
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@JsonInclude(value = Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class User extends SimpleBaseMultiTenantModel {
private static final long serialVersionUID = 1L;


    /**
     * 用户名称
     */
    private String userName;

    /**
     * 电话号码
     */
    private String phone;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 入住类型:0,个人1,企业2,机构
     */
    private Integer companyType;

    /**
     * 最后登录时间
     */
    private LocalDateTime lastLoginTime;
}